This property specifies the color of the four borders:
A solid red border
A solid green border
A dotted blue border
Note: The "border-color" property does not work if it is used alone. Use the "border-style" property to set the borders first.
The border-color property can have from one to four values (for the top border, right border, bottom border, and the left border):
A solid multicolor border
The color of the border can also be specified using a hexadecimal value (HEX):
A solid red border
A solid blue border
A solid grey border
The color of the border can also be specified using RGB values:
A solid red border
A solid blue border
A solid grey border
The color of the border can also be specified using HSL values:
A solid red border
A solid blue border
A solid grey border